package com.yungu.swift.system.marketing.dao;

import com.yungu.swift.base.mapper.IMapper;
import com.yungu.swift.system.marketing.model.dto.MarketingInviteLogDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * Copyright © 厦门云谷信息科技有限公司 2018-2020 All Right Reserved
 * <p>
 * 司机邀请日志业务Mapper
 *
 * @version 1.1.0-SNAPSHOT
 * @since 2018-07-05 16:23
 */
@Mapper
public interface MarketingInviteLogMapper extends IMapper<MarketingInviteLogDto> {

    /**
     * 获取邀请并审核通过的司机列表
     *
     * @param inviter
     * @return
     */
    List<Map<String, Object>> listInviteDriver(@Param("inviter") String inviter);
}